import ajax from '@/utils/request'
import "@/mock/order.js"

export function getOrderList(data){
    return ajax({
        url:'/getOrderList',
        method:'post',
        data
    })
}

export function edit(data){
    return ajax({
        url:'/edit',
        method:'post',
        data
    })
}
export function del(data){
    return ajax({
        url:'/delItem',
        method:'post',
        data
    })
}
export function add(data){
    return ajax({
        url:'/addItem',
        method:'post',
        data
    })
}